﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace PairingMatrixService.Contract
{
    [DataContract]
    public class TeamMember
    {
        public TeamMember()
        {
            Id = Guid.NewGuid();    
            IceCreams = new List<DateTime>();
        }

        [DataMember]
        public Guid Id { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string PhotoUri { get; set; }

        [DataMember]
        public List<DateTime> IceCreams { get; set; }
    }
}